package com.ruipengkj;

import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;

import com.ruipengkj.ApplicationContext.CardType;

public class CardComponentListener implements ComponentListener {

	
	public CardComponentListener() {
		
	}
	@Override
	public void componentHidden(ComponentEvent arg0) {

	}

	@Override
	public void componentMoved(ComponentEvent arg0) {

	}

	@Override
	public void componentResized(ComponentEvent arg0) {

	}

	//组件隐藏时调用
	@Override
	public void componentShown(ComponentEvent c) {
		ApplicationContext.listenCard(null, CardType.CT_None);
	}

}
